---@class Battle.BuffEffect3:Battle.BuffEffectBase
---buff添加buff脚本
local BuffEffect3 = Battle.CreateClass("BuffEffect3",Battle.BuffEffectBase)
Battle.BuffEffect3 = BuffEffect3
function BuffEffect3:OnCreate(buff)
    ---@type Battle.Skill
    self.buff = buff;
    ---@type string
    self.param = buff.cfg.f_EffectParameter;
end

---buff生效时
function BuffEffect3:OnBuffStart(...)
    local param ={...};
    --local target = param[1];
    --for i, v in pairs(decodeJsonStrToTable(self.param)) do
    --    target:AddBuff(v[1], v[2], nil, target)
   -- end
end
return BuffEffect3